﻿using BCCommon.OAEnums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCEntity.OA.WorkflowTemplate.WorkflowTemplateBusiness
{
    /// <summary>
    /// 工作流模板业务
    /// </summary>
    public class WorkflowTemplateBusinessEntity
    {
        /// <summary>
        /// 工作流模板Id
        /// </summary>		
        public long WorkflowTemplateId { get; set; }
        /// <summary>
        /// 工作流模板Code
        /// </summary>		
        public string TemplateCode { get; set; }
        /// <summary>
        /// 工作流模板名称
        /// </summary>		
        public string TemplateName { get; set; }
        /// <summary>
        /// 分类Code
        /// </summary>		
        public string CategoryCode { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>		
        public string CategoryName { get; set; }
        /// <summary>
        /// 是否为基础流程
        /// </summary>		
        public bool IsBaseFlow { get; set; }
        /// <summary>
        /// 是否移动端显示
        /// </summary>		
        public bool IsMobleShow { get; set; }
        /// <summary>
        /// 允许在我的任务中发起
        /// </summary>		
        public bool AllowInitiate { get; set; }
        /// <summary>
        /// 是否所有人员（为否时检查权限配置）
        /// </summary>		
        public bool IsAllPerson { get; set; }
        /// <summary>
        /// 权限映射Id
        /// </summary>		
        public long PermissionReferenceId { get; set; }
        /// <summary>
        /// 权限映射名称
        /// </summary>		
        public string PermissionReferenceName { get; set; }
        /// <summary>
        /// 权限类型(公司，部门，人员，岗位，其他，节点执行人)
        /// </summary>		
        public string PermissionTypeStr { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>		
        public OAWorkflowPermissionType PermissionType { get; set; }
    }
}
